package ooday.ooday2;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑",5,"黑色");
        dog.eat();
        dog.drink();
        dog.lookHome();

        Chicken chicken=new Chicken("小花",2,"白色");
        chicken.eat();
        dog.drink();
        chicken.layEggs();

        Fish fish = new Fish("小金",1,"红");
        fish.eat();
        fish.drink();

    }
}
